package cn.wolfcode.luowowo.member.service;

import cn.wolfcode.luowowo.common.exception.LogicalException;
import cn.wolfcode.luowowo.member.domain.Userinfo;

import java.util.List;

public interface IUserinfoService  {

    Userinfo getById(Long id);

    Boolean checkPhone(String phone);

    void sendVerifyCode(String phone);

    void userRegist(String phone,String nickname, String password, String rpassword,String verifyCode)throws LogicalException;

    Userinfo loginIn(String phone, String password) throws LogicalException;

    List<Userinfo> list();
}
